package com.entity;


import java.util.Date;

public class User {
    private Integer u_id;
    private String u_name;
    private String u_pwd;
    private Integer u_age;
    private Integer u_sex;
    private Date userAdd;
    private Date userUpdate;

    public User() {
    }

    public User(Integer u_id, String u_name, String u_pwd, Integer u_age, Integer u_sex, Date userAdd, Date userUpdate) {
        this.u_id = u_id;
        this.u_name = u_name;
        this.u_pwd = u_pwd;
        this.u_age = u_age;
        this.u_sex = u_sex;
        this.userAdd = userAdd;
        this.userUpdate = userUpdate;
    }

    @Override
    public String toString() {
        return "User{" +
                "u_id=" + u_id +
                ", u_name='" + u_name + '\'' +
                ", u_pwd='" + u_pwd + '\'' +
                ", u_age=" + u_age +
                ", u_sex='" + u_sex + '\'' +
                ", userAdd=" + userAdd +
                ", userUpdate=" + userUpdate +
                '}';
    }

    public Integer getU_id() {
        return u_id;
    }

    public void setU_id(Integer u_id) {
        this.u_id = u_id;
    }

    public String getU_name() {
        return u_name;
    }

    public void setU_name(String u_name) {
        this.u_name = u_name;
    }

    public String getU_pwd() {
        return u_pwd;
    }

    public void setU_pwd(String u_pwd) {
        this.u_pwd = u_pwd;
    }

    public Integer getU_age() {
        return u_age;
    }

    public void setU_age(Integer u_age) {
        this.u_age = u_age;
    }

    public Integer getU_sex() {
        return u_sex;
    }

    public void setU_sex(Integer u_sex) {
        this.u_sex = u_sex;
    }

    public Date getUserAdd() {
        return userAdd;
    }

    public void setUserAdd(Date userAdd) {
        this.userAdd = userAdd;
    }

    public Date getUserUpdate() {
        return userUpdate;
    }

    public void setUserUpdate(Date userUpdate) {
        this.userUpdate = userUpdate;
    }
}
